package com.tinycloud.miracll.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tinycloud.common.core.annotation.Excel;
import com.tinycloud.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 偏差数据主表对象 deviationdata_main
 * 
 * @author tinycloud
 * @date 2021-06-30
 */
public class DeviationDataMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNum;

    /** 品管号 */
    @Excel(name = "品管号")
    private String qcNum;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batchNum;

    /** 产线 */
    @Excel(name = "产线")
    private String prodLineCode;

    /** 监控时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "监控时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date acquisitionTime;

    /** $column.columnComment */
    @Excel(name = "监控时间")
    private String excelserverrcid;

    /** $column.columnComment */
    @Excel(name = "监控时间")
    private String excelserverrc1;

    /** $column.columnComment */
    @Excel(name = "监控时间")
    private String excelserverwiid;

    /** $column.columnComment */
    @Excel(name = "监控时间")
    private String excelserverrtid;

    /** $column.columnComment */
    @Excel(name = "监控时间")
    private Long excelserverrn;

    /** $column.columnComment */
    @Excel(name = "监控时间")
    private Long excelservercn;

    /** $column.columnComment */
    @Excel(name = "监控时间")
    private Long excelserverchg;

    /** 主键 */
    private String id;

    /** 推送表示 */
    @Excel(name = "推送表示")
    private String pushFlag;

    /** 偏差数据明细表信息 */
    private List<DeviationDataDetail> deviationDataDetailList;

    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setQcNum(String qcNum) 
    {
        this.qcNum = qcNum;
    }

    public String getQcNum() 
    {
        return qcNum;
    }
    public void setBatchNum(String batchNum) 
    {
        this.batchNum = batchNum;
    }

    public String getBatchNum() 
    {
        return batchNum;
    }
    public void setProdLineCode(String prodLineCode) 
    {
        this.prodLineCode = prodLineCode;
    }

    public String getProdLineCode() 
    {
        return prodLineCode;
    }
    public void setAcquisitionTime(Date acquisitionTime) 
    {
        this.acquisitionTime = acquisitionTime;
    }

    public Date getAcquisitionTime() 
    {
        return acquisitionTime;
    }
    public void setExcelserverrcid(String excelserverrcid) 
    {
        this.excelserverrcid = excelserverrcid;
    }

    public String getExcelserverrcid() 
    {
        return excelserverrcid;
    }
    public void setExcelserverrc1(String excelserverrc1) 
    {
        this.excelserverrc1 = excelserverrc1;
    }

    public String getExcelserverrc1() 
    {
        return excelserverrc1;
    }
    public void setExcelserverwiid(String excelserverwiid) 
    {
        this.excelserverwiid = excelserverwiid;
    }

    public String getExcelserverwiid() 
    {
        return excelserverwiid;
    }
    public void setExcelserverrtid(String excelserverrtid) 
    {
        this.excelserverrtid = excelserverrtid;
    }

    public String getExcelserverrtid() 
    {
        return excelserverrtid;
    }
    public void setExcelserverrn(Long excelserverrn) 
    {
        this.excelserverrn = excelserverrn;
    }

    public Long getExcelserverrn() 
    {
        return excelserverrn;
    }
    public void setExcelservercn(Long excelservercn) 
    {
        this.excelservercn = excelservercn;
    }

    public Long getExcelservercn() 
    {
        return excelservercn;
    }
    public void setExcelserverchg(Long excelserverchg) 
    {
        this.excelserverchg = excelserverchg;
    }

    public Long getExcelserverchg() 
    {
        return excelserverchg;
    }
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setPushFlag(String pushFlag) 
    {
        this.pushFlag = pushFlag;
    }

    public String getPushFlag() 
    {
        return pushFlag;
    }

    public List<DeviationDataDetail> getDeviationDataDetailList()
    {
        return deviationDataDetailList;
    }

    public void setDeviationDataDetailList(List<DeviationDataDetail> deviationDataDetailList)
    {
        this.deviationDataDetailList = deviationDataDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderNum", getOrderNum())
            .append("qcNum", getQcNum())
            .append("batchNum", getBatchNum())
            .append("prodLineCode", getProdLineCode())
            .append("acquisitionTime", getAcquisitionTime())
            .append("excelserverrcid", getExcelserverrcid())
            .append("excelserverrc1", getExcelserverrc1())
            .append("excelserverwiid", getExcelserverwiid())
            .append("excelserverrtid", getExcelserverrtid())
            .append("excelserverrn", getExcelserverrn())
            .append("excelservercn", getExcelservercn())
            .append("excelserverchg", getExcelserverchg())
            .append("id", getId())
            .append("pushFlag", getPushFlag())
            .append("createTime", getCreateTime())
            .append("deviationDataDetailList", getDeviationDataDetailList())
            .toString();
    }
}
